import { post } from "@/utils/request"

export const getOrigins = (data: any) =>
  post<any>("/api/origin/getOrigins", data)
export const addOrigin = (data: any) => post<any>("/api/origin/addOrigin", data)
export const updateOrigin = (data: any) =>
  post<any>("/api/origin/updateOrigin", data)
export const deleteOrigin = (data: any) =>
  post<any>("/api/origin/deleteOrigin", data)
export const updateOriginStatus = (data: any) =>
  post<any>("/api/origin/updateOriginStatus", data)
